<script>
export default {
  onLaunch: function (e) {
    if (!this.$store.state.token) {
      uni.reLaunch({
        url: '/pages/login/login'
      })
    }
    uni.onTabBarMidButtonTap(() => {
      if (!this.$store.state.showAction) {
        this.$store.dispatch('changeShowAction', true)
      }
    })
  },
  onShow: function () {
  },
  onHide: function () {
  }
}
</script>
<style lang="scss">
@import '@/uni_modules/uview-ui/index.scss';
</style>
<style>
/*每个页面公共css */
.uni-tabbar {
  border-radius: 50px 50px 0 0 !important;
}
</style>
